package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 价格对象 price
 * 
 * @author ruoyi
 * @date 2024-02-26
 */
public class Price extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 价格表id */
    private Long id;

    /** 挂号类型id */
    @Excel(name = "挂号类型id")
    private Long typeId;

    /** 医生职称id,0为所有职称 */
    @Excel(name = "医生职称id,0为所有职称")
    private Long positionId;

    /** 价格，普通号4.5￥，专家号（主任医师21.5￥，副主任医师14.5￥），高级问诊（主任医师20￥，副主任医师13￥，其余3￥） */
    @Excel(name = "价格，普通号4.5￥，专家号", readConverterExp = "主=任医师21.5￥，副主任医师14.5￥")
    private String money;

    /** 删除状态，0未，1删除 */
    @Excel(name = "删除状态，0未，1删除")
    private Long del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setPositionId(Long positionId) 
    {
        this.positionId = positionId;
    }

    public Long getPositionId() 
    {
        return positionId;
    }
    public void setMoney(String money) 
    {
        this.money = money;
    }

    public String getMoney() 
    {
        return money;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeId", getTypeId())
            .append("positionId", getPositionId())
            .append("money", getMoney())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("del", getDel())
            .toString();
    }
}
